package com.baosight.risk.common.quartz;

import com.baosight.risk.api.fltd.FltdNoticeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @Author: LiuHaoNan
 * @Date:
 */
@Slf4j
@Component("temporaryTask")
public class FltdTemporaryTask {
    @Autowired
    private FltdNoticeService fltdNoticeService;

    public void testParams(String params, String jobId) throws Exception {
//        System.out.println("进入OA待办定时任务");
        fltdNoticeService.sendOA(jobId);
//        System.out.println("执行结束————OA待办定时任务");
    }

}
